#include<Windows.h>
#include<iostream>
#include<stdlib.h>
#include<stdio.h>



int main()
{
	size_t   i;
	char *a = new char[100];
	const wchar_t *b = L"hi";
	wcstombs_s(&i, a, 100, b, 100);
	printf("%s", a);
	system("pause");
	return 0;
}
